package com.suray.basic.wcs.utils.typedef;

public class Bit extends BaseDataType {

    public Bit(int size, String name, String des) {
        super(size, name, des);

        if (size >= 8) {
            throw new RuntimeException("数据长度错误：" + size + ", Bit数据长度应 0 <= 7");
        }
    }
}
